/*
 * CPLEXUtility.h
 *
 *  Created on: 04/giu/2013
 *      Author: Ialenti Andrea, Marangon Fabio
 */

#ifndef CPLEXUTILITY_H_
#define CPLEXUTILITY_H_

#include "StatusCodes.h"
#include "Types.h"

//	Getter function to retrieve the array of variables set by a CPLEX 'mipopt' run.
Status getCPLEXSol(const Config *cfg, CPXENVptr env, CPXLPptr lp, double **x, int *size);

//	Function used to print a CPLEX solution.
Status plotSolution(const Config *cfg, CPXENVptr env, CPXLPptr lp, const Problem *p, const Graph *g, int solCnt, bool ps, bool opt);

#endif /* CPLEXUTILITY_H_ */
